﻿using System;
using System.Net;
using System.Xml.Linq;

namespace ArmoryBrowser.Entities
{
    public class Spirit : BaseStat
    {
        #region Fields
        private string _healthRegenField;
        private string _manaRegenField;
        #endregion
        #region Properties
        public string HealthRegen
        {
            get
            {
                return this._healthRegenField;
            }
            set
            {
                this._healthRegenField = value;
            }
        }

        public string ManaRegen
        {
            get
            {
                return this._manaRegenField;
            }
            set
            {
                this._manaRegenField = value;
            }
        }
        #endregion
        #region Constructor
        public Spirit(XElement element) : base(element)
        {
            HealthRegen = element.GetAttributeValue("healthRegen");
            ManaRegen = element.GetAttributeValue("manaRegen");
        }
        #endregion
    }
}
